starter.controller('noticesController', function($rootScope,$state,$ionicPopup,$timeout,$scope,Page, localStore,$location) {

    $scope.screenWidth = document.body.clientWidth;
    $scope.screenHeight = window.innerHeight;
    Page.ajaxPost('notice/query4Mobile.do',null, function(resp) {
        $scope.noticeList = resp.data;
    });

    $scope.clickNotice = function(notice) {
        $state.go("notices_detail",{transData : notice});
    }


});